package com.gaohe.post.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.core.annotation.Excel;
import com.gaohe.common.core.web.domain.BaseEntity;

/**
 * 帖子联系对象 fm_post_contact
 * 
 * @author ruoyi
 * @date 2025-06-03
 */
public class FmPostContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 联系id */
    private Long postContactId;

    /** 帖子id */
    @Excel(name = "帖子id")
    private Long postId;

    /** 联系姓名 */
    @Excel(name = "联系姓名")
    private String name;

    /** 联系方式(QQ/微信/手机号) */
    @Excel(name = "联系方式(QQ/微信/手机号)")
    private String way;

    /** 号码 */
    @Excel(name = "号码")
    private String number;

    /** 是否删除 */
    private Long delFlag;

    public void setPostContactId(Long postContactId) 
    {
        this.postContactId = postContactId;
    }

    public Long getPostContactId() 
    {
        return postContactId;
    }

    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setWay(String way) 
    {
        this.way = way;
    }

    public String getWay() 
    {
        return way;
    }

    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postContactId", getPostContactId())
            .append("postId", getPostId())
            .append("name", getName())
            .append("way", getWay())
            .append("number", getNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
